* {
    padding: 0;
    margin: 0;
}

#container {
    width: 80%;
    margin: 2em auto;
}

.tip {
  border-radius: .5em;
  padding: .5em;
}

.warning {
    border: 1px solid #d43f3a;
    background-color: #d9534f;
}

.info {
    border: 1px solid #46b8da;
    background-color: #5bc0de;
}

.code {
    border: 1px solid #ccc;
    background-color: #f5f5f5;
    border-radius: .5em;
    padding: .5em 2em;
    margin: 1em 0;
}

label {
    display: inline-block;
    width: 10em;
    padding: .5em;
}

.item-list {
    list-style: none;
    margin: 2em auto;
    width: 80%;
}

.item {
    border: 1px solid #ccc;
    border-bottom: none;
}

.item:last-of-type {
    border-bottom: 1px solid #ccc;
}

#confirm-form {
  height: 4em;
}

input[type="submit"] {
    float: right;
    margin: 1em;
    padding: .5em;
    background-color: #428bca;
    border-color: #285e8e;
    color: #fff;
}

input[type="submit"]:hover {
    background-color: #3276b1;
    cursor: pointer;
}

table {
  margin: 2em auto;
  width: 100%;
  border-collapse: collapse;
}

table > caption {
  padding: .5em;
  font-family: arial, sans-serif;
  font-weight: bolder;
  font-size: x-large;
}

tr {
  height: 3em;
}

tr:nth-of-type(odd) {
  background: #eee;
}

th {
  background: #333;
  color: white;
  font-weight: bold;
}
td, th {
  padding: 6px;
  border: 1px solid #ccc;
  text-align: left;
  max-width: 100px;
  overflow: overlay;
}

tbody > tr >td:first-child {
  font-weight: bold;
}

#scroll-to-top {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 4em;
  height: 4em;
  border: 1px solid black;
  background-color: #cbf5fb;
  line-height: 4em;
  text-align: center;
  margin-right: .5em;
  margin-bottom: .5em;
}

#scroll-to-top:hover {
  cursor: pointer;
}